Encourage PDFs to show in the browser instead of downloading. By Nick Semenkovich .

Latest Version

Version
2024.10.22
Update
October 17, 2024
Size
13.17KiB
Developer
semenkovich.com
Category
Users
2,000+
Rating
3.94118 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
DeclarativeNetRequest
DeclarativeNetRequestFeedback
See more

Don't Download PDFs Extension

Annoyed by PDFs that download and save instead of just showing in the tab?

This extension encourages PDFs to show in the browser rather than downloading.

That's it. Nothing else.

======== Details ========

This works by setting the \"Content-Disposition: Inline\" header under these conditions:

- Content is displayed in the full window (main_frame)
AND

- The response contains \"Content-type: application/pdf\"
OR
- The response contains \"Content-type: application/octet-stream\" with a filename of \"*.pdf\"

Note that some sites use the \"download\" attribute in links (e.g. ) which we can't override, but you can right-click those PDFs and select \"Open Link in a New Tab\".

======== CODE ========
https://github.com/semenko/chrome-force-pdf-inline

Copyright 2014-2024 Nick Semenkovich

Released under the MIT License. See LICENSE for details.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "author": "Nick Semenkovich", "description": "Encourage PDFs to show in the browser instead of downloading. By Nick Semenkovich .", "manifest_version": 3, "background": { "service_worker": "service_worker.js" }, "name": "Don't Download PDFs", "permissions": [ "declarativeNetRequest", "declarativeNetRequestFeedback" ], "host_permissions": ["" ], "declarative_net_request": { "rule_resources": [{ "id": "ruleset", "enabled": true, "path": "ruleset.json" }] }, "icons": { "48": "icons/icon48.png", "128": "icons/icon128.png" }, "version": "2024.10.22"}
Read more

How to download and manually install Don't Download PDFs extension for Chrome

Looking for a way to install Don't Download PDFs extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Don't Download PDFs extensions manually, this article outlines two simple methods to effortlessly install Don't Download PDFs extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Don't Download PDFs extension and manually install through Drag &Drop

If you ever need to manually install a Don't Download PDFs extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Don't Download PDFs Extension by clicking the "Download CRX" button on the website.

Look for the Don't Download PDFs extension you wish to install. Go to the website and download the Don't Download PDFs extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Don't Download PDFs extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Don't Download PDFs extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Don't Download PDFs extension for Chrome and install in Developer Mode

This is another method to install Don't Download PDFs extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Don't Download PDFs extension file

Select and download the Don't Download PDFs extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Don't Download PDFs extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Don't Download PDFs extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Don't Download PDFs extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Don't Download PDFs extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Docs Viewer Extension · Productivity 2,000+ 9 ★ 19.06KiB

icon

No PDF Download Extension · Productivity 2,000+ 42 ★ 8.05KiB

icon

PDF Forcedownload Blocker Extension · Productivity 2,000+ 41 ★ 2.99KiB

icon

Soda PDF Viewer: Edit, Convert, Compress PDF files Extension · Productivity 2,000+ 4 ★ 1.7MiB

icon

WebAssembly PDF Viewer Editor Extension · Productivity 2,000+ 2 ★ 41.91KiB

icon

Modify Content-Type Extension · Developer Tools 2,000+ 35 ★ 42.36KiB

icon

Wiki Researcher Extension · Productivity 2,000+ 4 ★ 345KiB

icon

Block Unreachable Scripts Extension · Productivity 2,000+ 6 ★ 11.06KiB

icon

PDF Viewer Extension · Productivity 2,000+ 2 ★ 2.03MiB

icon

Hover Read Extension · Productivity 2,000+ 6 ★ 50.18KiB

icon

Render Selection Extension · Developer Tools 2,000+ 3 ★ 351KiB

icon

Undisposition [Racle fork] Extension · Productivity 2,000+ 35 ★ 15.47KiB

icon

Beck PDF Downloader Extension · Accessibility 2,000+ 15 ★ 4.7KiB

icon

Awesome PDF Viewer, Reader Extension · Productivity 2,000+ 110 ★ 28.99KiB

icon

In-Browser File Viewer Extension · Accessibility 2,000+ 4 ★ 8.22KiB

icon

Rumin Extension · Productivity 2,000+ 5 ★ 544KiB

icon

HTML5 PDF Printing in Chrome Extension · Accessibility 2,000+ 2 ★ 3.02MiB

icon

Extension log Extension · Productivity 2,000+ 12 ★ 45.45KiB

icon

Turbo Outliner Extension · Productivity 2,000+ 16 ★ 16.94KiB

icon

Simplex Search - Direct Download Everything Extension · Productivity 2,000+ 7 ★ 36.58KiB

icon

Scroll Preview Extension · Productivity 2,000+ 27 ★ 68.71KiB

icon

Peek: Preview PDFs, Office files, and more Extension · Productivity 2,000+ 20 ★ 197KiB

icon

PDF Viewer for Vimium C Extension · Productivity 2,000+ 30 ★ 2.88MiB

icon

Lazy Linker Extension · Productivity 2,000+ 7 ★ 54.37KiB

User reviews

icon

Amir (ID: 0000008eaa6c98b3) Voted 5 ★ - Updated 10/11/2022 All you need to not to save a PDF but to read it!

icon

Hari Tharani (ID: 000000801c2a6acb) Voted 1 ★ - Updated 07/14/2020 not even opening very bad n not useful

icon

Michael Richter (ID: 00000066e7e5cc16) Voted 5 ★ - Updated 02/21/2020 Exactly what I was looking for.

icon

Chris Vydas (ID: 000000a1b7cc9ce4) Voted 1 ★ - Updated 11/20/2019 Did not work at all! Not working on pc and not working on mobile.

icon

Ellen Winney (ID: 000000267b30345d) Voted 5 ★ - Updated 05/30/2019 Needed this for a website that insisted its PDFs be downloaded instead of just displayed inline. This extension did exactly what I needed, thanks.